import 'ns_network_utils.dart';
export 'ns_http_extension.dart';
export 'ns_result_data.dart';

class NSApi {
  //host
  static String baseUrl = 'http://test-app.bigegg.work/';

  //上报
  static String reportLog = 'http://log.bigegg.work/log/live-chat';

  //隐私政策URL
  static String privacyPolicy = 'https://h5.bigegg.work/privacyPolicy.html';

  //用户协议URL
  static String termConditions = 'https://h5.bigegg.work/termConditions.html';

  //用户登录
  static String userLogin = '${baseUrl}security/oauth';

  //策略
  static String getStrategy = '${baseUrl}config/getStrategy';

  //获取配置
  static String getAppConfig = '${baseUrl}config/getAppConfig';

  //是否有效token
  static String isValidToken = '${baseUrl}security/isValidToken';

  //获取用户
  static String getWall = '${baseUrl}broadcaster/wall/search';

  //获取用户信息
  static String getUserInfo = '${baseUrl}user/getUserInfo';

  //退出登录
  static String logout = '${baseUrl}security/logout';

  //删除账户
  static String deleteAccount = '${baseUrl}user/deleteAccount';

  //获取上传oss
  static String getUploadOss = '${baseUrl}user/oss/policy';

  //更换头像
  static String updateAvatar = '${baseUrl}user/updateAvatar';

  //更换用户资料
  static String saveUserInfo = '${baseUrl}user/saveUserInfo';

  //所有套餐
  static String coinShopList = '${baseUrl}coin/goods/search';

  //购买套餐
  static String createOrder = '${baseUrl}coin/recharge/create';

  //校验订单
  static String checkOrder = '${baseUrl}coin/recharge/payment/ipa';

  //
  static String consumeCoin = '${baseUrl}coin/reviewModeConsume';
}
